package student.aistar.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import student.aistar.mapper.CommentImgRepository;
import student.aistar.model.entity.CommentImg;

import java.util.List;

@Service
public class CommentImgService {
    @Autowired
    private CommentImgRepository commentImgRepository;


    /**
     * 查询所有图片
     * @return
     */
    public List<CommentImg> findCommentImgList(){
        //调用dao
        return commentImgRepository.findAll();
    }


}
